package com.x.example.toolbar.items;

import android.content.Context;
import android.view.ViewGroup;

import androidx.annotation.NonNull;

import com.x.uikit.toolbar.XToolbar;
import com.x.uikit.toolbar.XToolbarItem;
public class SpitItem extends XToolbarItem {
    public SpitItem(@NonNull Context context, @NonNull String token) {
        super(context, token);
    }

    @Override
    public ViewGroup.LayoutParams getLayoutParams() {
        XToolbar.LayoutParams lp = new XToolbar.LayoutParams(0, 0);
        lp.weight = 1;
        return lp;
    }
}
